<?php
	$first = "abc";
	$second = "aBc";
	if(strcmp($first, $second) == 0) {
		print("字符串相等:"."<hr>");
	} else {
		print("字符串不相等"."<hr>");
	}

	print("a short string ".strlen("a short string")."<hr>");//字串长度

	$text = "hello world";
	print(strpos($text, "w")."<hr>");//寻找字串中某字元最先出现